<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Version macros - Boost.Outcome documentation</title>
<link rel="stylesheet" href="../../css/boost.css" type="text/css">
<meta name="generator" content="Hugo 0.52 with Boostdoc theme">
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>

<link rel="icon" href="../../images/favicon.ico" type="image/ico"/>
<body><div class="spirit-nav">
<a accesskey="p" href="../../reference/macros/template.html"><img src="../../images/prev.png" alt="Prev"></a>
    <a accesskey="u" href="../../reference/macros.html"><img src="../../images/up.png" alt="Up"></a>
    <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/macros/co_try.html"><img src="../../images/next.png" alt="Next"></a></div><div id="content">
  <div class="titlepage"><div><div><h1 style="clear: both">Version macros</h1></div></div></div>
  <p><em>Overridable</em>: None of the following macros are overridable.</p>

<p><em>Header</em>: <code>&lt;boost/outcome/config.hpp&gt;</code></p>

<ul>
<li><p><a name="version-major"></a><code>BOOST_OUTCOME_VERSION_MAJOR &lt;number&gt;</code></p>

<p>Major version for cmake and DLL version stamping.</p></li>

<li><p><a name="version-minor"></a><code>BOOST_OUTCOME_VERSION_MINOR &lt;number&gt;</code></p>

<p>Minor version for cmake and DLL version stamping.</p></li>

<li><p><a name="version-patch"></a><code>BOOST_OUTCOME_VERSION_PATCH &lt;number&gt;</code></p>

<p>Patch version for cmake and DLL version stamping.</p></li>

<li><p><a name="version-revision"></a><code>BOOST_OUTCOME_VERSION_REVISION &lt;number&gt;</code></p>

<p>Revision version for cmake and DLL version stamping.</p></li>

<li><p><a name="unstable-version"></a><code>BOOST_OUTCOME_UNSTABLE_VERSION &lt;number&gt;</code></p>

<p>Defined between stable releases of Outcome. It means the inline namespace will be permuted per-commit to ensure ABI uniqueness such that multiple versions of Outcome in a single process space cannot collide.</p></li>

<li><p><a name="v2"></a><code>BOOST_OUTCOME_V2 &lt;tokens&gt;</code></p>

<p>The namespace configuration of this Outcome v2. Consists of a sequence of bracketed tokens later fused by the preprocessor into namespace and C++ module names.</p></li>

<li><p><a name="v2-namespace"></a><code>BOOST_OUTCOME_V2_NAMESPACE &lt;identifier&gt;</code></p>

<p>The Outcome namespace, which may be permuted per SHA commit. This is not fully qualified.</p></li>

<li><p><a name="v2-namespace-begin"></a><code>BOOST_OUTCOME_V2_NAMESPACE_BEGIN &lt;keywords and identifiers&gt;</code></p>

<p>Expands into the appropriate namespace markup to enter the Outcome v2 namespace.</p></li>

<li><p><a name="v2-namespace-export-begin"></a><code>BOOST_OUTCOME_V2_NAMESPACE_EXPORT_BEGIN &lt;keywords and identifiers&gt;</code></p>

<p>Expands into the appropriate namespace markup to enter the C++ module exported Outcome v2 namespace.</p></li>

<li><p><a name="v2-namespace-end"></a><code>BOOST_OUTCOME_V2_NAMESPACE_END &lt;keywords and identifiers&gt;</code></p>

<p>Expands into the appropriate namespace markup to exit the Outcome v2 namespace.</p></li>
</ul>


        </div><p><small>Last revised: December 12, 2018 at 22:01:42 UTC</small></p>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../../reference/macros/template.html"><img src="../../images/prev.png" alt="Prev"></a>
    <a accesskey="u" href="../../reference/macros.html"><img src="../../images/up.png" alt="Up"></a>
    <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/macros/co_try.html"><img src="../../images/next.png" alt="Next"></a></div></body>
</html>
